package com.example.sturedis.listeners;

import com.example.sturedis.factories.BloomManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;

public class ApplicationInit implements ApplicationRunner {

    @Autowired
    private BloomManager bloomManager;

    @Override
    public void run(ApplicationArguments args) throws Exception {
        bloomManager.init();
    }
}
